-
Home
-
Tutor LMS – eLearning and online course solution
-
3.8.3
-
Code
-
Classes
- DateTimeHelper
| Total Complexity |
27 |
| Dependencies |
5 |
| Dependents |
4 |
| Total lines |
256 |
| Lines of code |
86 |
| Logical lines of code |
35 |
| Comment lines |
131 |
| Methods |
18 |
| Properties |
1 |
Methods 18
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| format() |
S |
62 |
4 |
12 |
| create() |
S |
66 |
3 |
8 |
| set_timezone() |
S |
72 |
2 |
5 |
| get_readable_diff() |
S |
65 |
2 |
8 |
| get_gmt_to_user_timezone_date() |
S |
67 |
2 |
7 |
| get_user_time_to_gmt_time() |
S |
70 |
2 |
6 |
| instance() |
S |
80 |
1 |
3 |
| now() |
S |
73 |
1 |
5 |
| add() |
S |
75 |
1 |
4 |
| sub() |
S |
75 |
1 |
4 |
| is_past() |
S |
80 |
1 |
3 |
| is_future() |
S |
80 |
1 |
3 |
| get_timezone() |
S |
81 |
1 |
3 |
| get_timezone_string() |
S |
81 |
1 |
3 |
| to_timestamp() |
S |
81 |
1 |
3 |
| to_date_time_string() |
S |
79 |
1 |
3 |
| to_date_string() |
S |
79 |
1 |
3 |
| to_time_string() |
S |
79 |
1 |
3 |